package com.hs.jhzd.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;
import java.util.Map;

@Data
@Entity
@Table(name = "qt_zdrwxxb")
public class Task {

  // 开始值班
  public static final String ORDER_SHIFT_START = "shift";
  // 开始点名
  public static final String ORDER_ROLLCALL = "rollcall";


  public static final String PRISONER_ACCOUNT_SYNCHRONIZE = "prisoner_account_synchronize";

  public static final String FINGERPRINT = "fingerprint";


  @Id
  @Column(name = "RWBH")
  private String id;// db id
  @Column(name = "RWMC")
  private String name;
  @Column(name = "RWCFGZ")
  private String cronExpress;
  @Column(name = "RWMS")
  private String orderName;
  @Column(name = "RWLLJ")
  private String rwllj;
  @Column(name = "RWZT")
  private boolean active;
  @Column(name = "JSBH")
  private  String jsbh;
  @Column(name = "JSMC")
  private  String  jsmc;

  @Column(name = "CJSJ")
  private Date createTime;
  @Column(name = "DSBH")
  private String taskId;
  @Column(name = "JSSJ")
  private Date lastSyncTime;

  @Transient
  private Map<String, Object> param;
}

